package com.jincheng.system.mapstruct;

import com.jincheng.system.domain.SignInSheet;
import com.jincheng.system.domain.dto.SignInSheetSimpleDTO;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

import java.util.List;

@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)  // 使用 Spring 管理
public interface SignInSheetMapStruct {
    SignInSheetSimpleDTO toSignInSheetSimpleDTO(SignInSheet signInSheet);

    List<SignInSheetSimpleDTO> toSignInSheetSimpleDTOList(List<SignInSheet> SignInSheet);
}
